import App from './App'
import { createSSRApp } from 'vue'
import { pinia } from './store/index.js'
import xingluo from './uni_modules/xingluo-ui';
import "./permission"
import "./global"

export function createApp() {
  const app = createSSRApp(App)
  // Vue 的存储库
  app.use(pinia);
  // 安装xingluo插件
  app.use(xingluo)
  return {
    app
  }
}